import request from "@/utils/request";

// 密码审核列表
export function pwdRecordList(params) {
  return request({
    url: "/enterprise/workOrder/pwd/record/list",
    method: "get",
    params: params
  });
}

// 密码审核状态统计
export function countPwdAuditState(params) {
  return request({
    url: "/enterprise/workOrder/pwd/record/countPwdAuditState",
    method: "get",
    params: params
  });
}

// 审核密码
export function auditPwdRecord(data) {
  return request({
    url: "/enterprise/workOrder/pwd/record/audit",
    method: "put",
    data:data
  });
}
